package com.example.covid19.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author BaiZhengChun
 * @since 2023-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("student")
@ApiModel(value="Student对象", description="")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增")
    @TableId(value = "zid", type = IdType.AUTO)
    private Integer zid;

    @ApiModelProperty(value = "学号")
    private Integer studentid;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "人脸信息")
    private String facetoken;

    @ApiModelProperty(value = "班级id")
    private Integer ccid;

    private String name;

    private Integer rid;

    private Integer istrue;

    private String sex;

//    @ApiModelProperty(value = "对应的寝室楼号")
//    private Integer lid;


}
